Comparison of Two Algorithms for calculating natural logarithm, calculation logarithm AlgorithmIntroduction
Some time ago, I wrote two essays about algorithms used to calculate the natural logarithm, using the elliptic θ function-arithmetic
Introduction
In 1982, tateaki. Sasaki and yasumasa Kanada published a paper: practically Fast Multiple-Precision Evaluation of log (X ). In this four-page paper, they introduced a quick way to calculate the natural logarithm.Algorithm. C #
Program
Introduction
Some time ago, I wrote two articles to calculate the natural logarithmAlgorithmUsing the elliptic θ function-arithmetic geometric mean and Taylor series expansion respectively. What is the performance of these two algorithms? The
IntroductionSome time ago, I wrote two essays on algorithms for calculating natural logarithms, using the elliptical θ function-arithmetic geometric averaging and Taylor series expansions-to calculate. What about the performance of the two
IntroductionSome time ago. I wrote two essays on algorithms for calculating natural logarithms, using the elliptical θ function-arithmetic geometric averaging and Taylor series expansions.So what about the performance of the two algorithms? In the
WPS Table The method of finding the value of natural logarithm e:
Open the WPS table and create a new workbook.
A1 Enter the n value, B1 to find the E value. Because e is an irrational number, you need to pull B a little wider. In B1
Java logarithmic functions and Java logarithm operations2010-05-17 10:32 China it lab anonymous Keyword: Java
Java logarithmic functions are computationally problematic, but there are amazing errors in the API. But if you use the following method,
Using the natural logarithm ln method in JavaScript, javascriptln
This returns the natural logarithm of 10 to approximately 2.302.Syntax
Math. LN10
Example:
JavaScript Math LN10 Property
This produces the following results:
Property
' e=1+1/1! +1/2! +1/3! +1/4! +......+1/n!
' Φkρ=αe
' Wherein, alpha and k are constants, φ is polar, and rho is the polar diameter, and E is the base of the natural logarithm. For the sake of discussion, we define e or the form of "natural law"
This will return 10 of the natural logarithm of about 2.302.
Grammar
1
Math.ln10
Example:
1 2 3 4 5 6 7 8 9 10 11
javascript Math LN10 property var property_value = math.ln10 document.write ("Property
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.